#pragma once

#include <string>
#include "statement.hpp"
#include "expression.hpp"

struct AssignmentStatement : public Statement {
public:
    AssignmentStatement(std::string type, std::string name, Expression* value);
    std::string str() const override;
    std::string to_code() const override;
private:
    std::string type;
    std::string name;
    Expression* value;
};
